﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using KC.DTO.Core;
using KC.Service.Core.Enums.WorkFlow;
using System.Runtime.Serialization;

namespace KC.Service.Core.DTO.WorkFlow
{
    [Serializable]
    [DataContract(IsReference = true)]
    public class WorkFlowMemberDto : EntityBaseDTO
    {
        //public WorkFlowMemberDto()
        //{
        //    WorkFlows = new WorkFlowsDto();
        //}
        [DataMember]
        public Guid? Id { get; set; }
        [DataMember]
        public Guid FlowId { get; set; }
        [DataMember]
        public Guid UserId { get; set; }
        [DataMember]
        public string UserName { get; set; }
        [DataMember]
        public string RoleId { get; set; }
        [DataMember]
        public string RoleName { get; set; }
        [DataMember]
        public string DepartmentId { get; set; }
        [DataMember]
        public string DepartmentName { get; set; }
        [DataMember]
        public ProcessingState ProcessingState { get; set; }
        [DataMember]
        public string ProcessingStateString { get; set; }

        //public WorkFlowsDto WorkFlows { get; set; }
    }
}
